package com.malie.myspringboot.nacos;

import org.springframework.web.bind.annotation.RestController;

@RestController
public class DiscoveryDemo {
  /*  @NacosInjected
    private NamingService namingService;

    @GetMapping("/nacosdiscovery")
    public List<Instance> get(@RequestParam String serviceName) throws NacosException {
        return namingService.getAllInstances(serviceName);
    }*/
}
